var forecast = require('./forecast');
var summary = require('./summary');
var search = require('./search');
var data = require('./data');

var menu = new Vue({
	el: '#menu',
	data: {
		 
	},
	methods: {
		summary: function(){
			summary.display = true;
			forecast.display = false;
			search.display = false;
			data.display = false;
		},
		data: function(){
			forecast.display = false;
			summary.display = false;
			search.display = false;
			data.display = true;
		},
		forecast: function(){
			forecast.display = true;
			summary.display = false;
			search.display = false;
			data.display = false;
		},
		search: function(){
			forecast.display = false;
			summary.display = false;
			search.display = true;
			data.display = false;
		}
	}
});

